import type { App } from 'vue';
import ExtendCalendar from './src/extend-calendar.component';
import ExtendCalendarDesign from './src/designer/extend-calendar.design.component';
import { propsResolver } from './src/extend-calendar.props';
export * from './src/extend-calendar.props';
export { ExtendCalendar, ExtendCalendarDesign };

export default {
    install(app: App): void {
        app.component(ExtendCalendar.name, ExtendCalendar);
    },
    register(componentMap: Record<string, any>, propsResolverMap: Record<string, any>): void {
        componentMap['extend-calendar'] = ExtendCalendar;
        propsResolverMap['extend-calendar'] = propsResolver;
    },
    registerDesigner(componentMap: Record<string, any>, propsResolverMap: Record<string, any>): void {
        componentMap['extend-calendar'] = ExtendCalendarDesign;
        propsResolverMap['extend-calendar'] = propsResolver;
    }
};